FROM ubuntu:v01

COPY ./requirements.txt /
COPY  ./enterpoint.sh /

RUN pip3 install -r /requirements.txt

COPY ./src /var/www/server

WORKDIR /var/www/server
RUN python3 manage.py collectstatic --noinput

CMD bash /enterpoint.sh